<%=
require 'rexml/document'

if (File.size?(#{isopath}) != nil)
  file = File.new(#{isopath})
  doc = REXML::Document.new file
  root = doc.root
  isos = root.elements["isos"]

  isos.elements.map do | iso |
    imagepath = iso.attributes['ImagePath']
    if (imagepath == @isopath)
      driveletter = iso.attributes['DriveLetter']
      return driveletter  
    end
  end
end
%>